import { RequestAxios } from "@/utils/Request_axios";

// 登录接口实现
export const login = (data) => {
  return RequestAxios.post("/h5/user/login", data);
};

//注册用户
export const register = (data) => {
  return RequestAxios.post("/h5/user/register", data);
};

// 获取用户信息
export const getUserInfo = () => {
  return RequestAxios.get("/h5/user/currentUser");
};
